package com.ycx.ycxmybatismanagement.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ycx.ycxmybatismanagement.pojo.Clazz;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ClazzDTO  {
    private Integer id;
    private String name;
    private String room;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate beginDate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;
    private String masterName;
    private Integer masterId;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate createTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate updateTime;
    private String status;
    private Integer subject;
}
